﻿<Grid HorizontalAlignment="Stretch" Height="40"  Background="{Binding PrimaryBackground}"
          x:Class="MusicExplorer.Views.Wrappers.YoutubeEntityResultView"
          xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
          xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
    <Grid.ColumnDefinitions>
        <ColumnDefinition Width="40" />
        <ColumnDefinition Width="*" />
        <ColumnDefinition Width="*" />
        <ColumnDefinition Width="Auto" />
    </Grid.ColumnDefinitions>
    <Border Height="40">
        <Image Source="{Binding RepositoryIcon}" Stretch="None" HorizontalAlignment="Center" VerticalAlignment="Center" />
    </Border>
    <Border Height="40" Grid.Column="1">
        <TextBlock Text="{Binding DisplayName}" VerticalAlignment="Center" Foreground="{Binding PrimaryForeground}"
                   Style="{StaticResource DefaultApplicationTextBlockStyle}" LineHeight="10" />
    </Border>
    <Border Height="40" Grid.Column="2">
        <TextBlock Text="{Binding PlaylistName}" VerticalAlignment="Center" Foreground="{Binding PrimaryForeground}"
                   Style="{StaticResource DefaultApplicationTextBlockStyle}" Margin="10, 0, 0, 0" Height="40" Grid.Column="1" />
    </Border>
    <Border Height="40" Grid.Column="3">
        <TextBlock Text="{Binding RepositoryName}" Style="{StaticResource DefaultApplicationTextBlockStyle}" 
                   Foreground="{Binding SecondaryForeground}" Grid.Column="1" VerticalAlignment="Center"
                   LineHeight="10" Padding="0, 0, 20, 0" />
    </Border>
    
</Grid>

    
    